package com.lbx.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * (User)实体类
 *
 * @author makejava
 * @since 2020-10-21 21:29:22
 */
public class User implements Serializable {
    private static final long serialVersionUID = 151877274811406819L;

    private Integer id;

    private String uname;

    private String pwd;

    private Integer levelid;

    private Date addtime;

    private Date updatetime;

    public User() {
    }

    public User(Integer id, String uname, String pwd, Integer levelid, Date addtime, Date updatetime) {
        this.id = id;
        this.uname = uname;
        this.pwd = pwd;
        this.levelid = levelid;
        this.addtime = addtime;
        this.updatetime = updatetime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public Integer getLevelid() {
        return levelid;
    }

    public void setLevelid(Integer levelid) {
        this.levelid = levelid;
    }

    public Date getAddtime() {
        return addtime;
    }

    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", uname='" + uname + '\'' +
                ", pwd='" + pwd + '\'' +
                ", levelid=" + levelid +
                ", addtime=" + addtime +
                ", updatetime=" + updatetime +
                '}';
    }
}